package com.base.po.voip;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CallbackinfoesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CallbackinfoesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCallerIsNull() {
            addCriterion("Caller is null");
            return (Criteria) this;
        }

        public Criteria andCallerIsNotNull() {
            addCriterion("Caller is not null");
            return (Criteria) this;
        }

        public Criteria andCallerEqualTo(String value) {
            addCriterion("Caller =", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerNotEqualTo(String value) {
            addCriterion("Caller <>", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerGreaterThan(String value) {
            addCriterion("Caller >", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerGreaterThanOrEqualTo(String value) {
            addCriterion("Caller >=", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerLessThan(String value) {
            addCriterion("Caller <", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerLessThanOrEqualTo(String value) {
            addCriterion("Caller <=", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerLike(String value) {
            addCriterion("Caller like", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerNotLike(String value) {
            addCriterion("Caller not like", value, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerIn(List<String> values) {
            addCriterion("Caller in", values, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerNotIn(List<String> values) {
            addCriterion("Caller not in", values, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerBetween(String value1, String value2) {
            addCriterion("Caller between", value1, value2, "caller");
            return (Criteria) this;
        }

        public Criteria andCallerNotBetween(String value1, String value2) {
            addCriterion("Caller not between", value1, value2, "caller");
            return (Criteria) this;
        }

        public Criteria andCalle164IsNull() {
            addCriterion("Calle164 is null");
            return (Criteria) this;
        }

        public Criteria andCalle164IsNotNull() {
            addCriterion("Calle164 is not null");
            return (Criteria) this;
        }

        public Criteria andCalle164EqualTo(String value) {
            addCriterion("Calle164 =", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164NotEqualTo(String value) {
            addCriterion("Calle164 <>", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164GreaterThan(String value) {
            addCriterion("Calle164 >", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164GreaterThanOrEqualTo(String value) {
            addCriterion("Calle164 >=", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164LessThan(String value) {
            addCriterion("Calle164 <", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164LessThanOrEqualTo(String value) {
            addCriterion("Calle164 <=", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164Like(String value) {
            addCriterion("Calle164 like", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164NotLike(String value) {
            addCriterion("Calle164 not like", value, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164In(List<String> values) {
            addCriterion("Calle164 in", values, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164NotIn(List<String> values) {
            addCriterion("Calle164 not in", values, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164Between(String value1, String value2) {
            addCriterion("Calle164 between", value1, value2, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalle164NotBetween(String value1, String value2) {
            addCriterion("Calle164 not between", value1, value2, "calle164");
            return (Criteria) this;
        }

        public Criteria andCalltimeIsNull() {
            addCriterion("CallTime is null");
            return (Criteria) this;
        }

        public Criteria andCalltimeIsNotNull() {
            addCriterion("CallTime is not null");
            return (Criteria) this;
        }

        public Criteria andCalltimeEqualTo(Date value) {
            addCriterion("CallTime =", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotEqualTo(Date value) {
            addCriterion("CallTime <>", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeGreaterThan(Date value) {
            addCriterion("CallTime >", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CallTime >=", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeLessThan(Date value) {
            addCriterion("CallTime <", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeLessThanOrEqualTo(Date value) {
            addCriterion("CallTime <=", value, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeIn(List<Date> values) {
            addCriterion("CallTime in", values, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotIn(List<Date> values) {
            addCriterion("CallTime not in", values, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeBetween(Date value1, Date value2) {
            addCriterion("CallTime between", value1, value2, "calltime");
            return (Criteria) this;
        }

        public Criteria andCalltimeNotBetween(Date value1, Date value2) {
            addCriterion("CallTime not between", value1, value2, "calltime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("Status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("Status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("ParentID is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("ParentID is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(String value) {
            addCriterion("ParentID =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(String value) {
            addCriterion("ParentID <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(String value) {
            addCriterion("ParentID >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(String value) {
            addCriterion("ParentID >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(String value) {
            addCriterion("ParentID <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(String value) {
            addCriterion("ParentID <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLike(String value) {
            addCriterion("ParentID like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotLike(String value) {
            addCriterion("ParentID not like", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<String> values) {
            addCriterion("ParentID in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<String> values) {
            addCriterion("ParentID not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(String value1, String value2) {
            addCriterion("ParentID between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(String value1, String value2) {
            addCriterion("ParentID not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andSysnumIsNull() {
            addCriterion("SysNum is null");
            return (Criteria) this;
        }

        public Criteria andSysnumIsNotNull() {
            addCriterion("SysNum is not null");
            return (Criteria) this;
        }

        public Criteria andSysnumEqualTo(String value) {
            addCriterion("SysNum =", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumNotEqualTo(String value) {
            addCriterion("SysNum <>", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumGreaterThan(String value) {
            addCriterion("SysNum >", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumGreaterThanOrEqualTo(String value) {
            addCriterion("SysNum >=", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumLessThan(String value) {
            addCriterion("SysNum <", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumLessThanOrEqualTo(String value) {
            addCriterion("SysNum <=", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumLike(String value) {
            addCriterion("SysNum like", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumNotLike(String value) {
            addCriterion("SysNum not like", value, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumIn(List<String> values) {
            addCriterion("SysNum in", values, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumNotIn(List<String> values) {
            addCriterion("SysNum not in", values, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumBetween(String value1, String value2) {
            addCriterion("SysNum between", value1, value2, "sysnum");
            return (Criteria) this;
        }

        public Criteria andSysnumNotBetween(String value1, String value2) {
            addCriterion("SysNum not between", value1, value2, "sysnum");
            return (Criteria) this;
        }

        public Criteria andFwdtimeIsNull() {
            addCriterion("FwdTime is null");
            return (Criteria) this;
        }

        public Criteria andFwdtimeIsNotNull() {
            addCriterion("FwdTime is not null");
            return (Criteria) this;
        }

        public Criteria andFwdtimeEqualTo(Date value) {
            addCriterion("FwdTime =", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeNotEqualTo(Date value) {
            addCriterion("FwdTime <>", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeGreaterThan(Date value) {
            addCriterion("FwdTime >", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FwdTime >=", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeLessThan(Date value) {
            addCriterion("FwdTime <", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeLessThanOrEqualTo(Date value) {
            addCriterion("FwdTime <=", value, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeIn(List<Date> values) {
            addCriterion("FwdTime in", values, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeNotIn(List<Date> values) {
            addCriterion("FwdTime not in", values, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeBetween(Date value1, Date value2) {
            addCriterion("FwdTime between", value1, value2, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andFwdtimeNotBetween(Date value1, Date value2) {
            addCriterion("FwdTime not between", value1, value2, "fwdtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNull() {
            addCriterion("EndTime is null");
            return (Criteria) this;
        }

        public Criteria andEndtimeIsNotNull() {
            addCriterion("EndTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndtimeEqualTo(Date value) {
            addCriterion("EndTime =", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotEqualTo(Date value) {
            addCriterion("EndTime <>", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThan(Date value) {
            addCriterion("EndTime >", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EndTime >=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThan(Date value) {
            addCriterion("EndTime <", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeLessThanOrEqualTo(Date value) {
            addCriterion("EndTime <=", value, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeIn(List<Date> values) {
            addCriterion("EndTime in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotIn(List<Date> values) {
            addCriterion("EndTime not in", values, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeBetween(Date value1, Date value2) {
            addCriterion("EndTime between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andEndtimeNotBetween(Date value1, Date value2) {
            addCriterion("EndTime not between", value1, value2, "endtime");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNull() {
            addCriterion("Money is null");
            return (Criteria) this;
        }

        public Criteria andMoneyIsNotNull() {
            addCriterion("Money is not null");
            return (Criteria) this;
        }

        public Criteria andMoneyEqualTo(BigDecimal value) {
            addCriterion("Money =", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotEqualTo(BigDecimal value) {
            addCriterion("Money <>", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThan(BigDecimal value) {
            addCriterion("Money >", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Money >=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThan(BigDecimal value) {
            addCriterion("Money <", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Money <=", value, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyIn(List<BigDecimal> values) {
            addCriterion("Money in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotIn(List<BigDecimal> values) {
            addCriterion("Money not in", values, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Money not between", value1, value2, "money");
            return (Criteria) this;
        }

        public Criteria andOmoneyIsNull() {
            addCriterion("OMoney is null");
            return (Criteria) this;
        }

        public Criteria andOmoneyIsNotNull() {
            addCriterion("OMoney is not null");
            return (Criteria) this;
        }

        public Criteria andOmoneyEqualTo(BigDecimal value) {
            addCriterion("OMoney =", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyNotEqualTo(BigDecimal value) {
            addCriterion("OMoney <>", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyGreaterThan(BigDecimal value) {
            addCriterion("OMoney >", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OMoney >=", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyLessThan(BigDecimal value) {
            addCriterion("OMoney <", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OMoney <=", value, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyIn(List<BigDecimal> values) {
            addCriterion("OMoney in", values, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyNotIn(List<BigDecimal> values) {
            addCriterion("OMoney not in", values, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OMoney between", value1, value2, "omoney");
            return (Criteria) this;
        }

        public Criteria andOmoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OMoney not between", value1, value2, "omoney");
            return (Criteria) this;
        }

        public Criteria andTimecountIsNull() {
            addCriterion("TimeCount is null");
            return (Criteria) this;
        }

        public Criteria andTimecountIsNotNull() {
            addCriterion("TimeCount is not null");
            return (Criteria) this;
        }

        public Criteria andTimecountEqualTo(Integer value) {
            addCriterion("TimeCount =", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountNotEqualTo(Integer value) {
            addCriterion("TimeCount <>", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountGreaterThan(Integer value) {
            addCriterion("TimeCount >", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountGreaterThanOrEqualTo(Integer value) {
            addCriterion("TimeCount >=", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountLessThan(Integer value) {
            addCriterion("TimeCount <", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountLessThanOrEqualTo(Integer value) {
            addCriterion("TimeCount <=", value, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountIn(List<Integer> values) {
            addCriterion("TimeCount in", values, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountNotIn(List<Integer> values) {
            addCriterion("TimeCount not in", values, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountBetween(Integer value1, Integer value2) {
            addCriterion("TimeCount between", value1, value2, "timecount");
            return (Criteria) this;
        }

        public Criteria andTimecountNotBetween(Integer value1, Integer value2) {
            addCriterion("TimeCount not between", value1, value2, "timecount");
            return (Criteria) this;
        }

        public Criteria andShopidIsNull() {
            addCriterion("ShopID is null");
            return (Criteria) this;
        }

        public Criteria andShopidIsNotNull() {
            addCriterion("ShopID is not null");
            return (Criteria) this;
        }

        public Criteria andShopidEqualTo(String value) {
            addCriterion("ShopID =", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotEqualTo(String value) {
            addCriterion("ShopID <>", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidGreaterThan(String value) {
            addCriterion("ShopID >", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidGreaterThanOrEqualTo(String value) {
            addCriterion("ShopID >=", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLessThan(String value) {
            addCriterion("ShopID <", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLessThanOrEqualTo(String value) {
            addCriterion("ShopID <=", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidLike(String value) {
            addCriterion("ShopID like", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotLike(String value) {
            addCriterion("ShopID not like", value, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidIn(List<String> values) {
            addCriterion("ShopID in", values, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotIn(List<String> values) {
            addCriterion("ShopID not in", values, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidBetween(String value1, String value2) {
            addCriterion("ShopID between", value1, value2, "shopid");
            return (Criteria) this;
        }

        public Criteria andShopidNotBetween(String value1, String value2) {
            addCriterion("ShopID not between", value1, value2, "shopid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}